package com.naicha.wechat.wechat.face;

/**
 * @author NaiCha
 * @date 2019/5/13 14:25
 * @description 切换到当前目录  执行javac SynchronizedDemo.java编译成.class  执行javap -c -s -v -l SynchronizedDemo.class
 **/
public class SynchronizedDemo {

    public void method(){
        synchronized (this){
            System.out.println("synchronized");
        }
    }

}
